|
Subject: Re: [xsl] handling tags and PIs within a macro From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 23 Oct 2007 17:44:47 +0100 |
> Oh my gosh, this change is so overwhelming....
it'll be OK, don't worry;-)
Just change your source so instead of
<j_entry cmd="admin/user/mail" rel="Mail Server"
t="integer" ver="4.0"
val="30">
<dsc>Quota of a mailbox in Megabytes. The default
value is taken
from the mail
server default quota (see entry <xref
linkend='mta_quota'
xrefstyle='template:%t on page %p'/>).</dsc>
</j_entry>
you have the same information in XML:
<j_entry>
<cmd>admin/user/mail</cmd>
<rel> Mail Server</rel>
<t>integer</t>
<ver>4.0</ver>
<val>30</val>
dsc>Quota of a mailbox in Megabytes. The default
value is taken from the mail
server default quota (see entry <xref
linkend='mta_quota'
xrefstyle='template:%t on page %p'/>).</dsc>
</j_entry>
then use a template as I suggested earlier that picks out these
elements, and you are done.
As Wendell says, if you have a DTD or schema then you may also need to
chaneg that to match, but XSLt doesn't need either of these, so you can
ignore that problem for now.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] handling tags and PIs wit, Nancy Brandt | Thread | Re: [xsl] handling tags and PIs wit, Wendell Piez |
| Re: [xsl] handling tags and PIs wit, Nancy Brandt | Date | Re: [xsl] handling tags and PIs wit, Wendell Piez |
| Month |