Subject: [xsl] Transforming entity declarations and entities From: "Tommy Skarateppen" <developer@xxxxxxxxxxxx> Date: Wed, 7 Dec 2005 12:26:58 +0100 |
I have this file generated from Adobe FrameMaker: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE journal SYSTEM "mydtd.dtd" [ <!-- Begin Document Specific Declarations --> <?Fm Validation Off?> <!ENTITY bkc1 SYSTEM "beta-8-2004-journalfront-1.ent"> <!ENTITY bkc2 SYSTEM "beta-8-2004-2.ent"> <!ENTITY bkc3 SYSTEM "beta-8-2004-journalback-3.ent"> <!-- End Document Specific Declarations --> ]> <?Fm Book?><journal>&bkc1;&bkc2;&bkc3;</journal> The entity names are automatically generated from FrameMaker, but I want to have them changed, so the output file would look something like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE journal SYSTEM "mydtd.dtd" [ <!-- Begin Document Specific Declarations --> <?Fm Validation Off?> <!ENTITY beta-8-2004-journalfront-1.ent SYSTEM "beta-8-2004-journalfront-1.ent"> <!ENTITY beta-8-2004-journalfront-2.ent SYSTEM "beta-8-2004-2.ent"> <!ENTITY beta-8-2004-journalfront-3.ent SYSTEM "beta-8-2004-journalback-3.ent"> <!-- End Document Specific Declarations --> ]> <?Fm Book?><journal>&beta-8-2004-journalfront-1.ent;&beta-8-2004-journalfront -2.ent;&beta-8-2004-journalfront-3.ent;</journal> Is this possible to do in XSLT? -tommy
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Problem with doctype-syst, Axel Kesten | Thread | Re: [xsl] Transforming entity decla, andrew welch |
[xsl] Problem with doctype-system i, Axel Kesten | Date | Re: [xsl] Transforming entity decla, andrew welch |
Month |