|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
question about td'sHi, hopefully this is the right list... I'm working on one of the WSRA specs and I can't seem to figure out how to add a line-break in a table cell (TD). From the dtd given to us we're now allowed to use <p>'s in <td>'s and <br>'s are allowed to be used at all in the entire doc. Any ideas on how to make this work w/o modifying the standard dtd given to us? The files are at: http://www.w3.org/2002/ws/ra/edcopies/ thanks -Doug ______________________________________________________ STSM | Web Services Architect | IBM Software Group (919) 254-6905 | IBM T/L 444-6905 | dug@... |
||||||||||
|
|
Re: question about td'sDepending on why you want line breaks it may make sense to have <phrase role="something">jg gasca</phrase> <phrase role="something">kjhg kjyfg uft </phrase> <phrase role="something">ausxh iquw qiwu </phrase> together with <xsl:template match="phrase[@role='something']"> <xsl:apply=templates/> <xsl:if test="following-sibling::*"><br/></xsl:if> </xsl:template> in a local xsl file that imports the main one. 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. ________________________________________________________________________ |
||||||||||
|
|
Re: question about td'sThanks David. I basically did what you suggested and added special logic 'phrase'. While I was in there I added logic to support a role to "bold" to add <b>'s around the text since <b> doesn't seem to be supported either. It seems odd to me that certain things are not supported by default in the xsl - like <br/> or even <b>. Would you (or anyone else) happen to know why such basic things were purposely excluded? thanks -Doug ______________________________________________________ STSM | Web Services Architect | IBM Software Group (919) 254-6905 | IBM T/L 444-6905 | dug@...
Depending on why you want line breaks it may make sense to have <phrase role="something">jg gasca</phrase> <phrase role="something">kjhg kjyfg uft </phrase> <phrase role="something">ausxh iquw qiwu </phrase> together with <xsl:template match="phrase[@role='something']"> <xsl:apply=templates/> <xsl:if test="following-sibling::*"><br/></xsl:if> </xsl:template> in a local xsl file that imports the main one. 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. ________________________________________________________________________ |
||||||||||
|
|
Re: question about td's> Would you (or anyone else) happen to know why such basic things were > purposely excluded? It's been worked on from time to time since, and many groups (including Math) have worked on their own copies (ours are all xslt 2 for example) but the basic design goes back to just implementing the minimum required to typeset the xml spec using those parts of a pre-xslt 1 draft of xslt that were implemented in some beta release of xt, so I don't think extensive coverage for possible future requirements was highest priority of the original designers:-) 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. ________________________________________________________________________ |
||||||||||
|
|
Re: question about td'sok - thanks for the help/insight. thanks -Doug ______________________________________________________ STSM | Web Services Architect | IBM Software Group (919) 254-6905 | IBM T/L 444-6905 | dug@...
> Would you (or anyone else) happen to know why such basic things were > purposely excluded? It's been worked on from time to time since, and many groups (including Math) have worked on their own copies (ours are all xslt 2 for example) but the basic design goes back to just implementing the minimum required to typeset the xml spec using those parts of a pre-xslt 1 draft of xslt that were implemented in some beta release of xt, so I don't think extensive coverage for possible future requirements was highest priority of the original designers:-) 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. ________________________________________________________________________ |
| Free embeddable forum powered by Nabble | Forum Help |