tweetdigest: Bart on the ground

by Andi
  • Even without a particularly strong growth of beard, it's a mess, when the shaver is falling down, while the shaving head loses # damn # doh #
  • I think wget-r would have been faster than 40 times Click to save #
  • My photos from yesterday at a light for the party (organization: @ Rettet_dasfest ) # fire pucker # sparklers # fireworks http://bit.ly/3P6OIQ # fb #
  • Kubuntu on a USB drive makes 9.10 schonmal fun. Especially the graphics running on Intel again. Ubuntu now for free #

Tags: , , , , ,

A light for the festival - Save hard

by Andi

Again quite spontaneous action had the Save the hard times. This time they should clock up 22 on the hill of the Günther-Klotz-Anlage arrive and set with lighter, mobile phone or even sparklers a character in the form of a light for the festival. This call came , according to details of Ka-News about 4500 people to. Given the frigid temperatures on the hill I think that's very impressive. Since we were there, I've also made some pictures :) As usual But there are also the gallery for a light for the festival . Unfortunately, many images are also blurred. Quite a challenge to photograph in the conditions. Hope you like anyway :)

7518_huegel_mit_lichtern
7524_feuerspucker_mit_flamme
7528_feuer_luft_schreiben
7535_piratenpartei_led_fahne
7537_funkenflug
7543_feuerwerk
7552_wunderkerzen
7561_mond

Tags: , , , , ,

tweetdigest: Andnav vs. Google Maps Navigation

by Andi
  • @ pepilog no, not coincidentally, of course;) So far I had only requests from your "There is a Users' article in reply to pepilog #
  • Extensive article from yesterday, around 3.5 and Picasa face recognition http://bit.ly/otI7l #
  • @ night thanks for the feedback, was just surprised. What is surphace.com? evening in reply to #
  • RT @ RETTET_DASFEST: First pictures from the construction of "A Light for the festival" http://bit.ly/2CsVgu - I am very likely this :) # DASF #
  • @ nightrose 'd be a # google # wave # invite happy. Support a # karlsruhe ;) andi @ .. crash in reply to nightrose #
  • @ nightrose thank arrived yet. Let's see :) in reply to nightrose #
  • Wonder if # andnav is unnecessary if Google Maps appears navigation. But do not RSVP. Use of OSM #
  • The choice between delayed Tarte baguette for lunch, and M & M's for dessert is heavy. I'll just mix :) # s # ÜSS hearty #
  • Could the local electronics stores finally the @ sonos testen.Sieht already cool but aus.Ach wireless audio system that would ... #
  • Cool, we got our first monthly Nachhochzeitgeschenk: a hollowed out pumpkin :) The first Halloween I experience #
  • @ lammy_ka do not think it influenced your decision, but you'd be hard for not only the light ;) in reply to lammy_ka #
  • @ lammy_ka I thought we probably there will be ;) But sport is already necessary, do I also rare in reply to lammy_ka #
  • @ Sonos I know: / Difficult decision, despite class System.Kann # sonos using Last.fm suggest songs from your personal library? in reply to Sonos #
  • If you think about it in a text message with a word # to start, you should think about whether you twittering too much ... #
  • In the meantime, we have the first # wedding photos and even get considered :) # fb #
  • http://twitpic.com/njv2o - Thanks again to our dance teacher, the pumpkin has ever found a temporary Leuchtort # fb #
  • Was the # fireworks # banging in # karlsruhe grade of "Light for the feast? The measurement starts, and also only the fireworks would be Monday. #
  • @ Sonos is the function perhaps? The use by Amarok / iTunes and feed it into Sonos is not the true ;) #

Tags: , , , , , , , ,

XSL with Saxon and Java call with XML as a parameter

by Andi

XSL with Saxon and the Java call with XML as a parameter

Inserting an XSL transformation in Java, the used processors usually offer a Java exit, to which is the possibility to call out from the transformation of a Java function. So also the Saxon .

In the implementation I came across stumbling blocks. The most important: the Saxon Home Edition (HE) supports Java and you get the call did not execute the transformation, the helpful error message "Can not find a matching 1-argument function named {java: org.package.foo.Klasse} function ()" . So there is no indication that it even fails to Saxon. So before anything in the transformation or the Java implementation changes, first to see if instead of saxon9he.jar from the Home Edition, which saxon9.jar the saxon9 dom.jar as external jar in the build path and are deposited.

Another possibility that is not the call works may be the fact that the function to be called as in any case

  public static 

must be defined. Last but not least the integration of the function must be correct. Once a <xsl:stylesheet> with

  <Xsl: stylesheet
 xmlns: abbreviation = "java: org.package.foo.Klasse"
 xmlns: xsl = "http://www.w3.org/1999/XSL/Transform> 

and besides the desired destination node then

  /> </Zielknoten > <Zielknoten <xsl:value-of Select = "Abkuerzung:function()" /> </ target node> 

Java Does the transformation and the call of the function yields the desired result one can rise to the question of how the XML to Java pass can cut one. While this with XSL 2.0 should not be a problem, it looks at different XSL 1.0. In this there is no support for temporary trees, so that when the attempted surrender of the tree only its contents taken. One solution is to use <[CDATA [dar.

A

  /> </xsl:value > <ziel> select = <xsl:value-of "/pfad/quelle" /> </ xsl: value> 

would therefore only copy any existing content in the nodes. If you pack the item to copy a CDATA node, it can complete on delivery and particularly also returned.

Source:

  1
 2
 3
 4
 5
  <source>
 <knoten>
 </kind > <kind> <! [CDATA [test content and node <moep> </ moep> test]]> </ child>
 </ Node>
 </ Source> 

If the packing is the source node must also make itself and the contents of the node is copied from somewhere as well, another procedure is necessary:

  1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
  <source>
 <knoten>
 <kind>
 > &lt; ![CDATA[ </xsl:variable > <xsl:variable "cdstart" name => <! [CDATA [</ xsl variable>
 > ]] &gt; </xsl:variable > <xsl:variable "cdend" name =>]]> </ xsl: variable>
 select = "$cdstart" /> <xsl:value-of disable-output-escaping "yes" = select = "$cdstart" />
 /> <xsl:copy-of select = "/anderer/quell/knoten" />
 select = "$cdend" /> <xsl:value-of disable-output-escaping "yes" = select = "$cdend" />
 </ Child>
 </ Node>
 </ Source> 

This XSL you can then copy the contents and receives the desired location at the XML tree rather than with <and> or Content provided only version.

  1
 2
 3
  <ziel>
 /> <xsl:value-of select = "/quelle/knoten/kind" />
 </ Target> 

To explain: the detour of the CDATA go to put in variables you have to, because the <and> to the HTML entities otherwise.


Tags: , , , , , , ,

tweetdigest: Nervtag with kebab delivery

by Andi
  • Today is not my day #
  • Hate! We are intentionally a desktop editor on hand to browser crashes out of the way to go in blogging and then crashes the editor from #
  • @ Yailaet WTF? On the other hand, at 13-9 mode you have to consider any bill with a side again ;) My sympathy do you have :) in reply to Yailaet #
  • Nor T-5 minutes and I should have a kebab in front of me #
  • At the minute there is the doner :) #

Tags: , , , ,
10 11 Ältere Pages: 1 2 3 4 5 ... 10 11 Older