RE: [xsl] xsl-fo issue

Subject: RE: [xsl] xsl-fo issue
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 23 Jul 2002 08:45:06 +0300
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


Current Thread
  • [xsl] xsl-fo issue
    • Sato Ryoko - Tue, 23 Jul 2002 14:28:29 +0900 (JST)
      • <Possible follow-ups>
      • Jarno . Elovirta - Tue, 23 Jul 2002 08:45:06 +0300 <=