Hello Rob,
When parse="text" the text from whatever href points to is included directly. If the text being included contains line breaks they'll end up in the result. A serializer will write these as character references so that they can be round-tripped when the document is read again.
Robert Koberg <[EMAIL PROTECTED]> wrote on 11/05/2004 01:48:27 PM:
> Hi,
>
> I am trying to use XInclude to include some text in the XML source used
> in a transformation. If I wrap the text in an element and don't use
> parse="text" all is good.
>
> When I use something like:
>
> <!-- also used US-ASCII and ISO-8859-1 for @encoding -->
> <xi:xinclude
> encoding="UTF-8"
> href=""> > parse="text">
> <xi:fallback/>
> </xi:xinclude>
>
> I get a character entity representing line endings (& # x D ;).
>
> Is there some way to avoid this? (I have searched and have not found any
> references to this problem)
>
> thanks,
> -Rob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
- Problem with SAX Parsing in Xerces Ranjith Kodikara
- Xerces2-J vs Xerces IndianAtTech
- Re: Problem with SAX Parsing in Xerces ramin_rad
- Re: Problem with SAX Parsing in Xerces Ranjith Kodikara
- Re: Problem with SAX Parsing in Xerces ramin_rad
- XInclude parse="text" prod... Robert Koberg
- Re: XInclude parse="text&q... Michael Glavassevich
- Re: XInclude parse="te... Robert Koberg
- Re: XInclude parse=&quo... Michael Glavassevich