This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xsl-fo issue


Hi,

> Does anybody know how to embed the data such as text from
> URL into xml?
> I know that there is no xsl-fo tag to do that; however,
> I have one idea to use entity showing below.
> 
> In dtd, 
>   <!ENTITY urltext SYSTEM "URL">
> In xml,
>   <url>&urltext;</url>
> 
> This idea is not too bad, but I want to write some tags in
> stylesheet not in dtd.

Well, you could declare the entity in the internal subset, that would be almost like writing tags, eh? If the documents that you want to include are well-formed XML documents, then you can include them or parts of them in the XSLT stylesheet using document() function; if not, you could e.g. write a SAX filter to replace your reference elements with the actual document.

Cheers,

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]