Click here to Skip to main content
15,894,646 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionHow can i read or get an XML from another host? Pin
spawneditions24-Mar-10 8:58
spawneditions24-Mar-10 8:58 
AnswerRe: How can i read or get an XML from another host? Pin
daveyerwin25-Mar-10 6:33
daveyerwin25-Mar-10 6:33 
QuestionXSLT help Pin
Aljaz11124-Mar-10 4:39
Aljaz11124-Mar-10 4:39 
AnswerRe: XSLT help Pin
PIEBALDconsult24-Mar-10 5:04
mvePIEBALDconsult24-Mar-10 5:04 
GeneralRe: XSLT help Pin
Aljaz11124-Mar-10 5:13
Aljaz11124-Mar-10 5:13 
QuestionSerializing a complex object to XML [modified] Pin
CDP180222-Mar-10 22:39
CDP180222-Mar-10 22:39 
Questionbuild one xml element with few childs Pin
Aljaz11122-Mar-10 16:04
Aljaz11122-Mar-10 16:04 
QuestionXQUERY fn:replace() inserting spaces? Pin
tom_masciovecchio12-Mar-10 10:17
tom_masciovecchio12-Mar-10 10:17 
This code:
xquery version "1.0";

let $doc := element data {
    element row {'abc'}, 
    element row {'def'}
}
 
return
    element results {
        for $a in $doc/node()
        return
            $a/node()
    }

returns (as expected)
<results>abcdef</results>

If I change the last line to $fn:replace($a/node(), 'x', 'y'), i.e.,
xquery version "1.0";

let $doc := element data {
    element row {'abc'}, 
    element row {'def'}
}
 
return
    element results {
        for $a in $doc/node()
        return
            fn:replace($a/node(), 'x', 'y')
    }

The results contain a space between the 'c' and 'd':
<results>abc def</results>


Does anyone have a clue as to where this is coming from? Note that the replace is looking for a character that's not there, so the search string should not be changed.

Thanks.
Questionnew to xml..please help.. Pin
A-MEN12-Mar-10 9:11
A-MEN12-Mar-10 9:11 
AnswerRe: new to xml..please help.. Pin
SeMartens18-Mar-10 21:36
SeMartens18-Mar-10 21:36 
AnswerRe: How to convert portlet into gadget Pin
Not Active12-Mar-10 4:32
mentorNot Active12-Mar-10 4:32 
QuestionHelp Finding Content Pin
jammmie9996-Mar-10 4:16
professionaljammmie9996-Mar-10 4:16 
AnswerRe: Help Finding Content Pin
Stuart Dootson6-Mar-10 5:06
professionalStuart Dootson6-Mar-10 5:06 
GeneralRe: Help Finding Content Pin
jammmie9996-Mar-10 6:17
professionaljammmie9996-Mar-10 6:17 
NewsBuilding Web 2.0 UIs with JSF, Realtime Updates with JSF and Ajax Push Taught at GIDS 2010 Pin
Shaguf Mohtisham3-Mar-10 20:31
Shaguf Mohtisham3-Mar-10 20:31 
QuestionVS2005 doesn't like my XML Schema Pin
gritter3-Mar-10 5:10
gritter3-Mar-10 5:10 
AnswerRe: VS2005 doesn't like my XML Schema Pin
gritter3-Mar-10 6:41
gritter3-Mar-10 6:41 
AnswerRe: VS2005 doesn't like my XML Schema Pin
Stuart Dootson6-Mar-10 4:58
professionalStuart Dootson6-Mar-10 4:58 
GeneralRe: xml code editor Pin
Covean2-Mar-10 22:21
Covean2-Mar-10 22:21 
QuestionMultiple children in Node question Pin
RCoate1-Mar-10 20:04
RCoate1-Mar-10 20:04 
AnswerRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 21:02
professionalStuart Dootson1-Mar-10 21:02 
GeneralRe: Multiple children in Node question Pin
RCoate1-Mar-10 21:56
RCoate1-Mar-10 21:56 
GeneralRe: Multiple children in Node question Pin
Stuart Dootson1-Mar-10 22:04
professionalStuart Dootson1-Mar-10 22:04 
GeneralRe: Multiple children in Node question Pin
RCoate2-Mar-10 11:16
RCoate2-Mar-10 11:16 
AnswerRe: Multiple children in Node question Pin
RCoate2-Mar-10 19:35
RCoate2-Mar-10 19:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.