Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. peakco

    javascript in css

    An alternative fragment that might work... s = '.class_to_add_border_to {border: ' + widthMargin + 'px }' ; ssr = document.createStyleSheet(); ssr.cssText = s; Bob
  2. peakco

    value-of in If/Choose statements?

    1st, You may have mistyped this.. <xsl:if test=&quot;value-of select='Item' != ''&quot;> should be ...select=&quot;Item !=... 2nd, you may want to use normalize-space() to avoid blank strings 3rd, you can avoid the look with... <xsl:apply-templates...
  3. peakco

    Conflicting JavaScripts? HELP!

    Isn't there an IE bug about avoiding empty <script..></script> phrases with a workaround like <script...>/*workaround*/</script> ? bob
  4. peakco

    XHTML - ignore text

    Has xhtml changed the behavoir of not displaying content of tags it doesn't recognize? If not <garbage>alsdkjf</garbage> will work for you.
  5. peakco

    Doesn't work on some machines

    You've a configuration problem. msxml, javascript, browser, and css versions need be reviewed. the sites www.gemal.dk and www.bayes.co.uk have spy & sniffer tools.
  6. peakco

    Trouble with mozilla and opera and div, help or suggestions welcome

    am also interested in how to do it. css2, presumably clip:rect(top right bottom left); overflow: scroll where top right botton left are offsets inward from a container. Isn't overflow-x, overflow-y an IE extension?
  7. peakco

    Including parseable HTML tags, using XML/DTD/XSL ??

    Instead of xsl:value-of, use either xsl:copy-of or xsl:copy with identity templates, pending your need. <tagwithbothhtmlandxml> xsl:copy xsl:apply-templates <tagwithonlyhtml> xsl:copy-of
  8. peakco

    XPath- Count XML Tag Occurences

    try something like count(preceding-sibling::*[name() = name(.)] if not 0 it can't be unique. this is inefficient as you'll be revisiting the same nodes a lot. ../* says return all nodes of my parent, ie my siblings; otherwise you might want preceding::*. there is a much more effiecient, and...
  9. peakco

    Problem with the copy-of

    I believe xpaths are resolved at compile time not runtime. The best you can do is an xpath with a predicate of the form [name()=$svalue]
  10. peakco

    XML using Access 2000

    Not directly. You need to pull an ADO object then use the the save method with the XML option; then go from there. Not particularly efficient.
  11. peakco

    Need tips for merging multiple documents

    My own answer. Yes and no. The No is because XML xpaths are fixed at compilation time. Since an XML variable isn't, you can not use it. (you can use a predicate of the form [$value=@name], but nothing more complicated). The Yes: add an additional transform step. So the xhtml is first wrapped in...
  12. peakco

    Converting an XML file to a comma delimited file format

    given <rows> <row> <field> etc then some variation of below should work for you.. <xsl:template match='/'> <xsl:apply-templates select='row' /> </xsl:template> <xsl:template match=&quot;row&quot;> <!-- quoth each field in the row and end with crlf --> <xsl:for-each...
  13. peakco

    Need tips for merging multiple documents

    My goal is to merge an XHTML document that is acting like a template with peices from several XML documents. I'm open to any approach. My current strategy is having an <insert> tag in the XHTML whereever the merge is to occur; for instance, lots of xhtml code to keep <insert...

Part and Inventory Search

Back
Top